package com.itheima.qiniu;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
// 启用AliyunOssConfig
@EnableConfigurationProperties(QiniuKodoConfig.class)
public class QiniuAutoConfiguration {
    @Bean
    public QiniuKodoUtlis qiniuKodoUtlis(QiniuKodoConfig config){
        return new QiniuKodoUtlis(config);
    }

}
